/*
*
* SystemMenuMapper.java
* Copyright(C) 2017-2020 fendo公司
* @date 2019-02-17
*/
package cn.house.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import cn.house.entity.SystemMenu;
import cn.house.example.SystemMenuExample;

@Mapper
public interface SystemMenuMapper {
	/**
	 *
	 * @mbg.generated
	 */
	long countByExample(SystemMenuExample example);

	/**
	 *
	 * @mbg.generated
	 */
	int deleteByExample(SystemMenuExample example);

	/**
	 *
	 * @mbg.generated
	 */
	int deleteByPrimaryKey(Long id);

	/**
	 *
	 * @mbg.generated
	 */
	int insert(SystemMenu record);

	/**
	 *
	 * @mbg.generated
	 */
	int insertSelective(SystemMenu record);

	/**
	 *
	 * @mbg.generated
	 */
	List<SystemMenu> selectByExample(SystemMenuExample example);

	/**
	 *
	 * @mbg.generated
	 */
	SystemMenu selectByPrimaryKey(Long id);

	/**
	 *
	 * @mbg.generated
	 */
	int updateByExampleSelective(@Param("record") SystemMenu record, @Param("example") SystemMenuExample example);

	/**
	 *
	 * @mbg.generated
	 */
	int updateByExample(@Param("record") SystemMenu record, @Param("example") SystemMenuExample example);

	/**
	 *
	 * @mbg.generated
	 */
	int updateByPrimaryKeySelective(SystemMenu record);

	/**
	 *
	 * @mbg.generated
	 */
	int updateByPrimaryKey(SystemMenu record);
}